package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tan
 * @since 2024-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_BASIC_SALARY")
@ApiModel(value="PcBasicSalary对象", description="")
public class PcBasicSalary implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "COMPANY_ID", type = IdType.AUTO)
    private String companyId;

    @TableField("DEPT_NO")
    private String deptNo;

    @TableField("DEPT_NAME")
    private String deptName;

    @TableField("NAME")
    private String name;

    @TableField("SEX")
    private String sex;

    @TableField("ID_NO")
    private String idNo;

    @TableField("POSITION")
    private String position;

    @TableField("WORK_TYPE")
    private String workType;

    @TableField("DATE_IN")
    private LocalDateTime dateIn;

    @TableField("SYS_USER")
    private String sysUser;

    @TableField("SYS_DATE")
    private LocalDateTime sysDate;

    @TableField("CALC_TYPE")
    private String calcType;

    @TableField("WORKER_ID")
    private String workerId;

    @TableField("DEL_DATE")
    private LocalDateTime delDate;

    @TableField("DEL_REASON")
    private String delReason;

    @TableField("FACTORY")
    private String factory;

    @TableField("BASIC_SALARY")
    private BigDecimal basicSalary;

    @TableField("POSITION_ALW")
    private BigDecimal positionAlw;

    @TableField("MIN_SALARY")
    private BigDecimal minSalary;

    @TableField("MIN_YYYYMM")
    private String minYyyymm;

    @TableField("BANK_CARD_ID")
    private String bankCardId;

    @TableField("MIN_YYYYMM2")
    private String minYyyymm2;

    @TableField("UNION_M")
    private BigDecimal unionM;

    @TableField("HEALTH_M")
    private BigDecimal healthM;

    @TableField("UPDATE_DATE")
    private LocalDateTime updateDate;

    @TableField("SALARY_ALW")
    private BigDecimal salaryAlw;

    @TableField("P_DEPT_NO")
    private String pDeptNo;

    @TableField("P_DEPT_NAME")
    private String pDeptName;

}
